home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 3.1 KB | 137 lines | [TEXT/MPS ] |
- ;
- ; File: Terminals.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
- __TERMINALS__ SET 1
-
-
- IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
- include 'Dialogs.a'
- ENDIF
- ; include 'Errors.a' ;
- ; include 'ConditionalMacros.a' ;
- ; include 'Memory.a' ;
- ; include 'Types.a' ;
- ; include 'MixedMode.a' ;
- ; include 'Windows.a' ;
- ; include 'Quickdraw.a' ;
- ; include 'QuickdrawText.a' ;
- ; include 'Events.a' ;
- ; include 'OSUtils.a' ;
- ; include 'Controls.a' ;
- ; include 'Menus.a' ;
- ; include 'TextEdit.a' ;
-
- IF &TYPE('__CTBUTILITIES__') = 'UNDEFINED' THEN
- include 'CTBUtilities.a'
- ENDIF
- ; include 'StandardFile.a' ;
- ; include 'Files.a' ;
- ; include 'AppleTalk.a' ;
-
- IF &TYPE('__CONNECTIONS__') = 'UNDEFINED' THEN
- include 'Connections.a'
- ENDIF
-
- ; current Terminal Manager version
- curTMVersion EQU 2
- ; current Terminal Manager Environment Record version
- curTermEnvRecVers EQU 0
- ; error codes
- tmGenericError EQU -1
- tmNoErr EQU 0
- tmNotSent EQU 1
- tmEnvironsChanged EQU 2
- tmNotSupported EQU 7
- tmNoTools EQU 8
-
- tmInvisible EQU 1 << 0
- tmSaveBeforeClear EQU 1 << 1
- tmNoMenus EQU 1 << 2
- tmAutoScroll EQU 1 << 3
- tmConfigChanged EQU 1 << 4
-
- selTextNormal EQU 1 << 0
- selTextBoxed EQU 1 << 1
- selGraphicsMarquee EQU 1 << 2
- selGraphicsLasso EQU 1 << 3
- tmSearchNoDiacrit EQU 1 << 8
- tmSearchNoCase EQU 1 << 9
-
- cursorText EQU 1
- cursorGraphics EQU 2
-
- tmTextTerminal EQU 1 << 0
- tmGraphicsTerminal EQU 1 << 1
-
- TermDataBlock RECORD 0
- flags ds.w 1
- theData ds.l 1
- auxData ds.l 1
- reserved ds.l 1
- sizeof EQU 14
- ENDR
-
- TermEnvironRec RECORD 0
- version ds.w 1
- termType ds.w 1
- textRows ds.w 1
- textCols ds.w 1
- cellSize ds Point
- graphicSize ds Rect
- slop ds Point
- auxSpace ds Rect
- sizeof EQU 32
- ENDR
-
- TMSelection RECORD 0
- VariantLevel0Begin EQU *
- selRect ds Rect
- ORG VariantLevel0Begin
- selRgnHandle ds.l 1
- sizeof EQU 8
- ENDR
-
- TermRecord RECORD 0
- procID ds.w 1
- flags ds.l 1
- errCode ds.w 1
- refCon ds.l 1
- userData ds.l 1
- defProc ds.l 1
- config ds.l 1
- oldConfig ds.l 1
- environsProc ds.l 1
- reserved1 ds.l 1
- reserved2 ds.l 1
- tmPrivate ds.l 1
- sendProc ds.l 1
- breakProc ds.l 1
- cacheProc ds.l 1
- clikLoop ds.l 1
- owner ds.l 1
- termRect ds Rect
- viewRect ds Rect
- visRect ds Rect
- lastIdle ds.l 1
- selection ds.l 2
- selType ds.w 1
- mluField ds.l 1
- sizeof EQU 106
- ENDR
-
- ENDIF ; __TERMINALS__
-